﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace JsonRpc
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class JsonRpcObject : Attribute
    {
        public string Name { get; set; }
        public string Namespace { get; set; }

        public JsonRpcObject()
        {
            Name = null;
            Namespace = null;
        }
    }

    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
    public class JsonRpcMethod : Attribute
    {
        public string Name { get; set; }

        public JsonRpcMethod()
        {
            Name = null;
        }
    }
}